package com.qf.entity;

import java.util.Set;

/**
 * 权限表对应的实体类
 * @author zjw
 */
public class Perm {

    private Integer id;

    private String name;

    private Set<Role> roleSet;

    @Override
    public String toString() {
        return "Perm{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set<Role> getRoleSet() {
        return roleSet;
    }

    public void setRoleSet(Set<Role> roleSet) {
        this.roleSet = roleSet;
    }
}
